package com.zhkj.txg.module.order.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class OrderSubmitResponse(
    val data: OrderSubmitEntity? = null
) : BaseResponse()

data class OrderSubmitEntity(
    @SerializedName("order_amount")
    val orderAmount: Double,
    @SerializedName("order_sn")
    val orderSignNumber: String
) {
    var uiPosition: Int = 0
    var orderId: Long = 0
}

data class SubmitOrderFormatEntity(
    val shop_id: Int,
    val user_note: String?,
    val coupon_id: Int,
    val goods_id: Int,
    val goods_num: Int,
    val item_id: Int,
    val cart_ids: String
)